<?php
$plugin->load_plugin_lang();


$tpl = new Template_plugin('course/plugin/display_text/templates/index.tpl');

$title = $Sql->query("SELECT title FROM phpboost_plugin_display_text WHERE id=".$module->get_module_id_created_module(),__LINE__,__FILE__);
$text = $Sql->query("SELECT text FROM phpboost_plugin_display_text WHERE id=".$module->get_module_id_created_module(),__LINE__,__FILE__);

$tpl->assign_vars(array(
	'TITLE' => $title,
	'TEXT' => $text,
));

$tpl->parse();
?>